﻿///<reference path="../../../scripts/jquery-1.4.4.min.js" />
///<reference path="../../../scripts/jquery-ui.min.js" />
///<reference path="../../../scripts/kooboo/kooboo.form.js" />

$(function () {
    $(".datepicker").datepicker();

    $("form").submit(function (e) {
        e.preventDefault();
        $(this).ajaxPost();
        return false;
    });

    var go_to_settings = false;

    $(".next-action").click(function (e) {
        $("#next").val("settings");
        $("form").submit();
    });

    $(".index-action").click(function (e) {
        $("#next").val("index");
        $("form").submit();
    });
})


